rename main module to avoid conflict with upcoming recordparser class
move parsing out of record and into recordparser