scala to separate repo