setup environment and initial skeleton models