Added default script and use of local storage
Added JavaDoc comment to class