Implemented basic functionality of adding records