extension for phalanger with some database support