cleanup and added new thought dependency for export
added a new rest resource as a test for upcoming functionality. Cleanup and reformatting