remove unnecessary directories; update config.rb to contain appropriate middleware