Cleaned up command handling

+ Prevent needless creation of objects by using static methods instead