Using more getters/setters
Improved cookie component