Instatiate models and connection