Updated API. Added simple form for testing.