Ports Clean Command to Core

It's all in the title, bro. Ports the clean command to Core and updates the Makefile to get everything to compile as we would like. Addresses #49.
Done in 8e553df9011d54f9e17d8cf0510ef052e334c79b