more elegant vectors with type templates, removed int/double classes