Issue #1,#3

- Use arrays intead of string as input.
- Remove Spacer and Splitter interface.