add data structure and code cleanup
Initial support for adding series