The core API for the 2nd Line app