Initialize API strucutre. Added router, namespace and versioning