Setup Everything but MinMax

Almost everything works in the program except minmax hasn't been setup
yet. There are still a few bugs too.