Changing from sourceforge and rewritting some stuff.