Initial coffee api and java implementation.