Improved custom path translation.

Also created test for this path handling.

Test were also created for project management