general cleanup, documentation, removed unused scripts