Split build script into multiple submodules
Fixed build bug
Makefile all target now builds everything