Update coding style + comments + introduce TabContext