Added comments. Removed unused code. Added readme. Added database migration to set up the db. Added error page.