Modified the direction system to use an enum of directions instead of strings.  Also removed some unused code.