Added a setup() with key expansion and param init