Major changes to admin and database handling. Added support to add database rows from admin.