updated models and admin interface

Updated models and admin interface for easier database interaction.