You just have to run like the example below:
./irc.sh --host=<host> --port=<port> --channel=#<channel name> --attach=<bot name>
Then your bot logins and runs.
Answer is so easy: Creating a new class extends IRC Bot class. And implement required methods. And use IRC Bot API.
Sure. You can use IRC Client class without attaching any Bot.
More details are coming soon :)