A method and system for constructing a database management system for managing biometric data is disclosed. The disclosed system receives data from another database or from and enrollment process, encodes the data with an encoding plug-in, and stores the encoded data in a biometric data storage. The data may be enhanced before being stored. Incoming target data likewise is encoded using an encoding plug-in and may be pre-processed, and is sent to a matching algorithm that is either built-in or a plug-in algorithm. Further processing may occur after application of the matching algorithm. The disclosed database management system can be used not only for biometric database, but also for other similar types of data management.