Finished basic functionality with messages and saving records