Main loop

- With update and then render
- Added empty render function