Cleaned up code a bit
Added Common Class
Added CPU Detection