Added main frame (draft)