write something about system architecture; will write more about implementation and lock table