move scala codes to scala dir