Added init and basic API