Added documentation and changed some method names
Updated gitignore