Refactored and implemented clone
Massive refactoring and added early version of filesplitter