added pylint configuration and executable
improved code consistency and fixed some smal bugs using pylint