Updated all database tables and added to support errors
Added functioning Errormanager template