Added function util/directory to get directory from a file path
Partial support for Decaf features. NOT FULLY IMPLEMENTED