(feat) #5 Check for master before doing anything. Start of API.