move scala dependency to the top

**please review**, @dwightguth 

there are some weird errors in Eclipse otherwise