added command line interface; refactored a bit; little things.
1 file changed