Performance fix; Add versioning

- Added irc.c/h files
- Move all methods, fields and definitions to the appropriate headers
- Add utility functions
- Configuration parser now reads file line by line instead of loading it
into memory