improved kibana test, removed useless test
restricted exposed functions, metadata added to app namespace
refactored code and added tests for exposed functions
added exposed warn, debug and error on logger