refactoring scene creation. Click events working