Data splitting and basic cleaning works