added galleries. started tests and controllers for those. added model