Source file reorganization

Inline methods moved to *.inl files