Added new base controller and EP Exceptions library
Done some templating