Added META-INF.
Implemented the synchronization option + a few tweaks here and there.