added new file for direction components

mixing in traits