Large amounts of stuff done for the command framework