Moving libraries to top level & revised docs & added use case sql statements from DB.