minor licence update
first non-trivial test cases
separated classes out from code_scanner.h and added licence header
corrected debug file name
added basic class tests and initial header tests