major refactor of mainform, refactored out all the lists into a recordlists class to separate gui from logic