moved init file to .in
updated init file to be .in
added lock program
added cmake