Create manager.rb

Manager functionality; still buggy