Added token support
Added error support for gitlab tree
Added cache support for repos