Split url frontier into separate file

- Added a maxDepth option
- Decoupled urlFrontier