Some backend work for emoticons
Finalized backend work for emoticons