Main mod class is now a scala file
Ported completely to scala