gets the language from a list of paths
Do nothing for empty command
Use lists for lists of directories
Actually create .project file when initing