base controller and blog post images controller

ready for review