initial check-in of main code