Fixed incorrect event names
Moved sockets into their own module. Adjusted templates, JS and sockets to handle different types. Instagram module has insert method to insert hashtag content