Adapted exception controller
Create tables
Added entry point