new file organisation

moving the lib to the root folder