Removed the lock feature and added comments in headers
The getRemainingBytes() has got some weird error, modified it to use m_file.size() and things are working well
Beautified: ex.h