added maven and tests