Converted into eclipse java project