First version of the pls-generator. At this point, it just parses arguments.
Can now get a list of all files of a certain extesion.

Also changed argument 'type' to argument 'extension' to avoid name conflicts.