Sample config file added
Support for configuration
Better startup and license file
Correct fprintf usage