Reduce filesize

this builds off of #46

this will also address #37 sort of by accident