Added frameworks, prettified the code