documenation and got rid of old code no longer needed. A generall cleanup.