Code fixes/style/guidelines

This is how **I** would code part of your component system. Please keep in mind most of these changes are personal (formatting, for example), but there are some good guidelines that everyone should follow - please refer to the comments.

After reviewing my changes, tell me what you think and I'll keep reviewing the code if you appreciated the changes