Added print functionality, and made simple template