Move significant code to controlling classes

Todo:
Check for out-of-date-ness
Document
Update README
Fix restriction
Document the Analyser class
Document the AnalyserCLI class