Moves console commands into a new file
Adds "use strict", and corrects the usage of `require`