Changed architectual pattern. Added simple controler.