Fully Pyqi compiable

Fixes issue 23

Also adds the functionality of handling non-numerical based filenames.

@antgonza can you review?