Adding first pass at conversion to scala...created packages for scala and java temporarily