starting utils lib for shared funcs
refactored string operations to util lib
switched nick search to regex, case-insensitive