Remade Eclipse code to an application