struct to take and serialize input
added small enum to encapsulate Important numeric constans: