Encapsulated get-in functions in a service
Used PHP 5.3 array syntax
Fixed CS
Merge branch 'traversal'