Commit

Added main code and tweaked some variables