Update Of view in construction

main Frame and Graph change place from controller to view