Changed the command system to handle commands as layers