convert to scala project