Add initial lockserver code