Initial refactor from code. Added extra methods, namespaces and
composer.json

Signed-off-by: Josemi Liébana <josemi.liebana@westwing.de>