new db model created, fixed some error handling issues
tons of changes, see readme