Moved FlixStack service functions into standalone API library.