fix get default reader and writer
save method call
pass current request to controller and improve tests
improve calendar test
use dir only if available