I want to create an API for this program mainly for the UI part. So i can have a standard application/native GUI and one for the web. so make all the routes api accesseble.