moved post.py into controller package