Added functionality and .gitingore file