begin the migration to scala
add scala version of vector