logic fixes, API fixes, variable fixes etc ... there is still plenty to do but this is enough to check in and get others working on it.
moved things around, tried to make it more moodly. Still needs plenty of work!