Refactored out PostController into Controller base