Port helper functions from main.ls and make some tests
Removed project file from repo and added it to .gitignore