added optimize/debug declarations
updated config due to relocated functional module