documentation

added doc for main and neuralnet