Added main Java file