Some initital ORM work.
Remove pyc files.