Use apache commons

Signed-off-by: ShadowChild <shadychild12@gmail.com>