Moved code to episodes_controller and podcasts_controller. Fixed validation of podcast uniqueness