Java API for Padlock System