fixed code analysis bugs
basic implementation of searchcoderequest

added as an example...