break classes into files

closes #5