setup basic framework and models