refactor storage path attribute
add the ability to provide a namespace for attachments