fix setting default required_score + some code improvments (closes #23)