Remove include of handlebars and ui

Using Package namespace to check for availability and access exports
Update error message