started working on the startup routines

basic startup code added.
end of day check in