settings object done, some cleanup / improvements
begins moving calcs, what a mess!