refactor to be a proper eclipse project