Refactored, DB code moved to InforMEA class