add lots of code comments
create localstore.rdf programmatically for easier debugging
prevent copypaste error - strip() the input