Restructuring and clean up of posts repo