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.