Add Maven support and OSGi support