Added linting and complexity checks