Create Main Java class