Implemented code groundwork.
Added collision interface.