We now nievely execute commands

Need to lock in order to ensure only one thread is trying to execute a
command at once and need to implement system to limit rate.