ability to get base dir
fix routing format
update capture spec
add path accessor
create thumbnail dir if it doesn't exist