eliminated constants file
remove some unused code
error messages
update config setup