Thin film applications for energy storage