Added canCommentImm to User model
Added user permission wrappers
Fixed Flag not referencing package
Added contributor table checking
Added api handler file.
Added skeleton api handlers