re-organized code. moved building of series to its own model