Refactor variables and add README