Remove exports from code and put into export file