moving 100% of working code to lib subdir.  ignoring rails completely now.  may remove it later, dunno yet
it actually plays, woo!