Add Firebird support

Related to #646