Refactored config and added IgnoreProps config option