added caching and compressing of static resources; adjusted positioning of views