wip - added core libs
wip - fix uri and define vars