add framework

add some code to developer branch