updated template and added date picker initializer. This closes #9