implemented collection factory trait
added factory stubs