Fixed source input from cli
Moved chapter locating and added support for single files

Chapter locating on disk is now done by the chapter module. It has
support for single files.