Added classpath and other env. variables. Added dependencies.