[+] resource manager for future use
[*] redesign to maintain multiply attachments with server database