added Splitter class

renamed Main class to Parser