construct basic framework, add clock model