updated license block and added some basic Javadocs