Moved libraries to lib, util and tests to utils