Adds classpathadd function to bash and a few minor changes