Minor update
Moved all internal commands to lib/commands.c
Updated makefile so it compiles when changes are made to secondary files