Added the base frontend code