Added gate resources
added classification code to facade
fixed compilation error of test class
added logging, updated mongoDBadapter