Moved protocol into the library folder. Added a build_files.rb script.