Removed some old code
Some more documentation