adds record model
adds logging
adds domain model for records