Wired up frontend
Built and added sample codes