Change object definition pattern
Cleanup code
- setup accepts target element to display map
- move replay viewer css to seperate file