Added database install system. Closes #197.