Refactoring input to be a system and its
mappings to be components.
Adding vector class.