Added bank fuctories and edited frameworkFactory