API added, improved colours on the web interface