Started to code framwork and added protection interface