Add required functions for the completion library #34

adds in the required functions and libraries so that it properly triggers the completion api when viewing the resource.
This may also need to be added into the dev branch

Ref issue #34