fleshed out build system a bit more & started working on api