Initial code dump

everything I've written so far, unorganized