moved lib/ into src/