Create base.py

Does not include "lazy" options. This model mixins are enough to make nice URLs. :)