socket prettification, method parsing

everything done except for method declarations
method parsing completely working