Added share functionality. Fixed loads of bugs. Removed garbage code.