Fix rsplit and add more predefined directories
use __getaddr__ and __setaddr__ instead