first (ugly?) prototype of Lua bindings
deal with object instances (nested table in the resources field of an object)
experimenting around an Application object