The Perl framework of controlling Alkaline is an extensible set of Perl source code modules. You can easily extend the existing functionality by implementing your own functions.
Alkaline::Server implements server control functions. To install it, run
perl Makefile.PL make make install