restructured the page, created documentation, demos and datafiles. Changes to main functions