Separated configuration from main script.
Added comments.
Added sample configuration script.
Modified readme.md and sample configuration file