Update module handler.
Update resource pipleline.
Convert pipeline to scala.
Initial model and factory.