Simple stack library