Main Structure

Main structure of the java program.