move parameter checks to seperate method
get allowed repos from config file
add config file
fix coding style