reloaded all v0.0.2

new structure in the folder api is all the lib code, outside just the
necesary