Created better error handling
Database wrapper start + URL constant
database insert done + test class + auto model load