Reformat source
Move transaction logging into separate file
Many fixes and changes. Include a 50000 item dataset, and a test page that can be used with this dataset