rest: Add colorize and update lock file
rest: Use timer in profiling
rest: Count total time for LDAP queries