Run pylint over Core and make some changes as a result. Update documentation