still working on export and bug fixes, but basic functionality is there