Moved constants to own file. Made safeguards against going over or under max and min floors.