added navbar to detail page
upload file refactoring
better way to get file extension
refactored tag extraction
code refactoring