Restructured code in core module and added _ctcp_request method.
Added getprivs command to account module.