Update documentation and main file