Add eclipse settings, and beging to implement the logic