constructify webapp created in rails