Minor bug fixes and unicode additions to models.
Moved database settings to a new file. Admin panel support for existing models.