check url schema from command-line
fixed timer memory leak and source code refactoring