Added location structure and direction enumeration.
Organized usings.