Added Api class and updated boards example