add RAM, CPU info, refactoring and cleanup