Refactored code, learned the basics of framework and added tips.