Huge refactor

Move procfile and env parsers to their own packages