completed parsing template

now just need to store into respective objects