included lib directory in config/application.rb
added cache_date to theatre table