Fixed Issue #62

Added preAction method and moves parts of finish action method to it.
Added call to the preAction method in the first loop of each action.
Better InputOutput Documentation

- Added summaries for methods and neatened commenting
- Rearranged declarations and added better organisation
- Commented out Debug.Log's that were causing excessive Log entries