did a lot of the backend model stuff. admin pages are nearly done.