Made class static, added usings statements for memory usage improvements