Added some documentation + coding style standardization