added support for nucleus; introduced entity api bundle