move all feature functions out of StaticData