Added methods for record add queries and updated the architectural design.