code dump

breaking code up into different files
added filters and lots of stuff