Added window functionality

- Created WindowFactory class
- Created sample project