Position and Direction classes added.