added file delete functionality
switched to random primary
5 char ids
some small things