Fix #3: Add initialization and layout code