initial commit of the webapi

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
main
move webapi to seperate file, add get metadata
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>