I've got a thingie in the works which i guess would almost fit your definition of a 'generic' app, it's basically a program which connects and handles all the insim stuff such as packet (de)construction, and feeds insim packets to whichever plugins are loaded, without any plugins it doesn't really do anything.
It's written in pure PHP, if you know C++, PHP should be very simple to pick up.