bugfix wrong function call for mruby
added new collection
added adding of enpoints and prefix to database mappings