reworked dependencies. added a sort of build script