java init classes