Updated template

- Added JavaDocs