Added changes for input and output states
Finished input and output states. Working on getting make dist to work.