Added a function for building a simple interface.