Separated controllers in different files

Separated controllers in different files
Fixed and error in filters
Added a to do test on controller
Added base path