Eagle implementation

well-organized, implementing eagle, sword bugs