example basic java library project