JAC

- Started implementing by-wave browsing
- A bit refactored database querying mechanism