Removed superfluous SQL and added documentation
update readme