Few more format controls added.
Pipeline works for the first time, needs testing and debugging.