Converting from non-scala project