Added simple frontend code