initial commit
massive changes :)
added Factory class and ns, renamed window to 'scope'