add simple license line
some random thoughts
first bunch of code, need to get used to java again