Fixed many model bugs and registered things to admin site