Added master.rb and fixed file structure.