class documentation
adding environment script and fixing init script