Added compilation instructions and updated API ref