Add some frontend basic logic files.