proper postioning and first draft of sunpostition

sunposition is still dirty but i can't debug until we have better controls.
Licence ?
Link to the code ?