removed logic from controllers and included data provider service
added directives folder