Moved constructUrl to a module
Add .gitignore