update frontpage and add some sample code