Reorganized base files. Added mock post and post tests