Implement caching
Fix bug with heights on reload and closed #3
Merge branch 'fb-caching' into dev