Made Factory

- Made the factory class
- Major refactor in facades and new Factory class
- Missing closable still
Commit: Thomas