Add Singleton template
Add Window class