Initial java files which don't really work