added Java support and moved devices metadata to a dedicated target