moved ncg to cg module
moving classes around
added some line search documentation
added flask theme for docs
more docs