code structure improvements and now system is using Slim Controllers