Further work to implement build
Fixed build command. Now building into directories correctly