improve nvm inclusion code
source .profile in .bash_profile
add rvm code
add Java specific options
add .profile

not sure if necessary