moved sources to lib/
added docs; proper Pub structure