first revision of java based billing application