added several test files, finalized controller design and message protocol