Adding base java classes