Biodiesel production in oil biorefinery and by-products utilization