added docstrings to functions
added import for function
added docstring pt. 2
pylint refactoring - constants and docstrings