create bottle plugin interface